package cn.dt.ymcc.vo;

import cn.dt.ymcc.result.PageList;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;
@Data
@NoArgsConstructor
public class EsAggPageList<T> extends PageList<T> {
    private Map<String,AggrsBucket> map;

    public EsAggPageList(Map<String, AggrsBucket> map) {
        this.map = map;
    }

    public EsAggPageList(Long total, List<T> rows, Map<String, AggrsBucket> map) {
        super(total, rows);
        this.map = map;
    }
}
